package entity.lianxi.demo11;

import java.time.LocalDateTime;

public class Mian02 {
    public static void main(String[] args) {
       Stass bean01 = new Stass();
        bean01.setId(8);
        bean01.setName("王八");
        bean01.setAge(22);
        bean01.setPhone("110");
        bean01.setStaPos("项目经理");
        bean01.setAddTime(LocalDateTime.now());
        bean01.setUpdateTime(LocalDateTime.now());

        Stass bean02 = new Stass();

        BeanUtil.copyProperties(bean01,bean02);

        System.out.println(bean02);


    }
}
